@primatyColor:  #d1f400;
@primatyBgColor:  #000;

body {
  background: @primatyBgColor;
}
* {
  box-sizing: border-box;
}

.app {
  max-width: 600px;
  margin: 0 auto;
  .hide {
    display: none !important;
  }
  .title {
    margin-top: 20px;
    text-align: center;
  }
  .uploader {
    width: 300px;
    height: 250px;
    overflow: hidden;
    margin: 100px auto;
    background: url('../assets/button_backgroud.png') no-repeat;
    background-size: cover;
    cursor: pointer;
  }
  .body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    .content {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #000;
      overflow-y: scroll;
    }

    .foot {
      flex-shrink: 0;
      width: 100%;
      background: #333;
      
      .foregroundSelect {
        display: flex;
        height: 60px;
        align-items: center;
        overflow-x: scroll;
        padding: 0 10px;
        .thumb {
          width: auto;
          height: 40px;
          margin-right: 10px;
          &.active {
            outline: 1px solid @primatyColor;
          }
        }
      }
      .buttonGroup {
        display: flex;
        width: 100%;
        justify-content: space-around;
        .button {
          color: @primatyColor;
          height: 80px;
          padding: 0 30px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          cursor: pointer;
          i{
            font-size: 24px;
            margin-bottom: 5px;
          }
          span{
            font-size: 10px;
          }
        }
      }
      .controls {
        .control {
          height: 60px;
          background: rgba(255,255,255,0.2);
          display: flex;
          align-items: center;
          padding: 16px;
          i {
            color: #aaa;
            margin-right: 16px;
            flex-shrink: 0;
            font-size: 16px;
          }
          .slider {
            flex: 1;
            :global {
              .ant-slider-rail {
                height: 2px;
                background-color: #000;
              }
              .ant-slider-track {
                height: 2px;
                background-color: @primatyColor;
              }
              .ant-slider-handle {
                margin-top: -5px;
                background-color: @primatyColor;
                border: #000 2px solid;
              }
            }
          }
        }
        .filtersWrap {
          width: 100%;
          height: 60px;
          display: flex;
          i {
            font-size: 24px;
          }
          .close {
            width: 60px;
            background: rgba(255,255,255,0.1);
            color: #aaa;
            text-align: center;
            line-height: 60px;
          }
          .targetLayer {
            width: 60px;
            height: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            .icon {
              width: 24px;
              height: 24px;
              position: relative;
              margin-bottom: 5px;
              .top, .bottom {
                position: absolute;
                width: 15px;
                height: 15px;
                background: #fff;
              }
              .top {
                left: 2px;
                top: 2px;
              }
              .bottom {
                right: 2px;
                bottom: 2px;
              }
            }
            &.layer0 {
              .bottom {
                background-color:  @primatyColor;
              }
            }
            &.layer1 {
              .top {
                background-color:  @primatyColor;
              }
            }
            span {
              font-size: 10px;
              color: #fff;
            }
           
          }
          .filters {
            flex: 1;
            overflow-x: scroll;
            display: flex;
            .filter {
              color: #ccc;
              // height: 80px;
              padding: 0 20px;
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              cursor: pointer;
              flex-shrink: 0;
              &.active {
                color: @primatyColor;
              }
              i{
                font-size: 24px;
                margin-bottom: 5px;
              }
              span{
                font-size: 10px;
              }
            }
          }
        }
      }
      .resultFoot {
        width: 100%;
        height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .help {
          color: @primatyColor;
          margin-bottom: 10px;
        }
        .backEditorButton {
          cursor: pointer;
          padding: 5px 60px;
          color: @primatyBgColor;
          background: @primatyColor;
          border: 5px solid @primatyBgColor;
          outline: 1px solid @primatyColor;
          display: flex;
          flex-direction: column;
          align-items: center;
          .subText{
            font-size: 10px;
          }
        }
      }
      
      
    }
  }
  .logo {
    filter: hue-rotate(90deg);
  }
  
}